package com.bcxj.serviceprice.remote;

import com.bcxj.internalcommon.dto.ForecastPriceDTO;
import com.bcxj.internalcommon.dto.ResponseResult;
import com.bcxj.internalcommon.response.DirectionResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * ClassName: ServiceMapClient
 * Package: com.bcxj.serviceprice.remote
 * Description:
 *
 * @Author BCXJ
 * @Create 2024/10/5 18:02
 * @Version 1.0
 * @Since 1.0
 */
@FeignClient("service-map")
public interface ServiceMapClient {

    @GetMapping("/direction/driving")
    public ResponseResult<DirectionResponse> driving(@RequestBody ForecastPriceDTO forecastPriceDTO);

}
